package net.jueb.frameworkDemo.se.observer.eventBus.Observer;

/**
 * 主题1
 * @author juebanlin
 */
public class ConcreteSubject1 extends Subject {

    /** 个性化的定制内容 */
    private String subjectState;

    public ConcreteSubject1(String subjectState) {
        this.subjectState = subjectState;
    }

    @Override
    public Object getEvent() {
        System.out.println("Custom ConcreteSubject1");
        return subjectState;
    }
}